package edu.chl.da.ejb.persistency;

import edu.chl.da.ejb.core.Flight;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Jakob
 */
@Local
public interface IFlightFacade {

    void create(Flight flight);

    void edit(Flight flight);

    void remove(Flight flight);

    Flight find(Object id);

    List<Flight> findAllFlightsBySortedByStartDate();

    List<Flight> findAll();

}
